/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package com.unwiredgrain.modeling.sscm;


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Wire</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.unwiredgrain.modeling.sscm.Wire#getUser <em>User</em>}</li>
 *   <li>{@link com.unwiredgrain.modeling.sscm.Wire#getProvider <em>Provider</em>}</li>
 *   <li>{@link com.unwiredgrain.modeling.sscm.Wire#getUserIndex <em>User Index</em>}</li>
 *   <li>{@link com.unwiredgrain.modeling.sscm.Wire#getProviderIndex <em>Provider Index</em>}</li>
 * </ul>
 * </p>
 *
 * @see com.unwiredgrain.modeling.sscm.SSCMPackage#getWire()
 * @model
 * @generated
 */
public interface Wire extends Binding {
	/**
	 * Returns the value of the '<em><b>User</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link com.unwiredgrain.modeling.sscm.InnerConnector#getUse <em>Use</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>User</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>User</em>' reference.
	 * @see #setUser(InnerConnector)
	 * @see com.unwiredgrain.modeling.sscm.SSCMPackage#getWire_User()
	 * @see com.unwiredgrain.modeling.sscm.InnerConnector#getUse
	 * @model opposite="use" required="true"
	 * @generated
	 */
	InnerConnector getUser();

	/**
	 * Sets the value of the '{@link com.unwiredgrain.modeling.sscm.Wire#getUser <em>User</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>User</em>' reference.
	 * @see #getUser()
	 * @generated
	 */
	void setUser(InnerConnector value);

	/**
	 * Returns the value of the '<em><b>Provider</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link com.unwiredgrain.modeling.sscm.InnerConnector#getProvide <em>Provide</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Provider</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Provider</em>' reference.
	 * @see #setProvider(InnerConnector)
	 * @see com.unwiredgrain.modeling.sscm.SSCMPackage#getWire_Provider()
	 * @see com.unwiredgrain.modeling.sscm.InnerConnector#getProvide
	 * @model opposite="provide" required="true"
	 * @generated
	 */
	InnerConnector getProvider();

	/**
	 * Sets the value of the '{@link com.unwiredgrain.modeling.sscm.Wire#getProvider <em>Provider</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Provider</em>' reference.
	 * @see #getProvider()
	 * @generated
	 */
	void setProvider(InnerConnector value);

	/**
	 * Returns the value of the '<em><b>User Index</b></em>' attribute.
	 * The default value is <code>"0"</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>User Index</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>User Index</em>' attribute.
	 * @see #setUserIndex(int)
	 * @see com.unwiredgrain.modeling.sscm.SSCMPackage#getWire_UserIndex()
	 * @model default="0"
	 * @generated
	 */
	int getUserIndex();

	/**
	 * Sets the value of the '{@link com.unwiredgrain.modeling.sscm.Wire#getUserIndex <em>User Index</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>User Index</em>' attribute.
	 * @see #getUserIndex()
	 * @generated
	 */
	void setUserIndex(int value);

	/**
	 * Returns the value of the '<em><b>Provider Index</b></em>' attribute.
	 * The default value is <code>"0"</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Provider Index</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Provider Index</em>' attribute.
	 * @see #setProviderIndex(int)
	 * @see com.unwiredgrain.modeling.sscm.SSCMPackage#getWire_ProviderIndex()
	 * @model default="0"
	 * @generated
	 */
	int getProviderIndex();

	/**
	 * Sets the value of the '{@link com.unwiredgrain.modeling.sscm.Wire#getProviderIndex <em>Provider Index</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Provider Index</em>' attribute.
	 * @see #getProviderIndex()
	 * @generated
	 */
	void setProviderIndex(int value);

} // Wire
